package com.hzc.springchan.enums.impl;

import com.hzc.springchan.enums.ICodeBusiness;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 短信验证码业务枚举类
 * @author chen990627
 * @date 2022/09/07
 */
@Getter
@AllArgsConstructor
public enum SmsBusiness implements ICodeBusiness {

    USER_REGISTER("register"),

    MODIFY_PASSWORD("modifyPass");

    SmsBusiness(String name) {
        this.name = name;
    }

    /**
     * 与前端传入的business对应
     */
    private String name;

    private String sdkAppId = "1400605100";

    private String signName = "算法学习入门个人网";

    private String templateId = "1227602";


    @Override
    public String businessName() {
        return name;
    }
}
